package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IMoreMoreGoodInfoActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.MoreMoreGoodsInfoReq;
import com.wgts.wgts.netmodle.resp.MoreMoreGoodsInfoEntity;
import com.wgts.wgts.netmodle.resp.MoreMoreOpenEntity;

public class MoreMoreGoodInfoActivityModel implements IMoreMoreGoodInfoActivityModel {

    private NetService netService;

    public MoreMoreGoodInfoActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void moreMore(MoreMoreGoodsInfoReq req, HttpResultSubscriber<MoreMoreGoodsInfoEntity> subscriber) {
        netService.moreMoreAction(req, subscriber);
    }

    @Override
    public void launchMoreMoreAction(int shareId, HttpResultSubscriber<MoreMoreGoodsInfoEntity> subscriber) {
        netService.launchMoreMoreAction(shareId, subscriber);
    }

    @Override
    public void moreOrderTpDetail(int shareId, HttpResultSubscriber<MoreMoreGoodsInfoEntity> subscriber) {
        netService.moreOrderToDetail(shareId, subscriber);
    }

    @Override
    public void moreMoreOpen(Integer shareId, HttpResultSubscriber<MoreMoreOpenEntity> subscriber) {
        netService.moreMoreOpen(shareId, subscriber);
    }


}
